package com.aracky.system.service;

import com.aracky.system.model.entity.SysDictType;
import com.aracky.system.model.form.SysDictTypeForm;
import com.aracky.system.model.vo.SysDictVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 字典类型表 服务类
 * </p>
 *
 * @author zengzhiping
 * @since 2022-07-15 09:11:41
 */
public interface SysDictTypeService extends IService<SysDictType> {
    public SysDictType getDictTypeId(String dictCode);
    /**
     * 字典code是否存在
     *
     * @param sysDictTypeForm
     */
    void dictCodeExists(SysDictTypeForm sysDictTypeForm);

    /**
     * 通过字典编码查询字典数据
     *
     * @param dictCodeList
     * @return
     */
    Map<String, List<SysDictVO>> getMapList(List<String> dictCodeList);
}
